package com.blue.jdbc.model;

import java.io.Serializable;

import com.blue.jdbc.annotation.GeneratorType;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;

@Table(name = "student")
public class Student extends Person implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	@Id(generator=GeneratorType.ASSIGNED)
	private Integer id;
	private String grade;

	public Student()
	{
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getGrade()
	{
		return grade;
	}

	public void setGrade(String grade)
	{
		this.grade = grade;
	}

}
